package com.doudou.collection.infrastructure.core.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.HashSet;
import java.util.Set;

/**
 * @ClassName SysPermissionService
 * @Description 用户权限处理
 * @Author blue sky
 * @Date 2023/6/26 0:36
 * @Version 1.0
 */
@Component
public class SysPermissionService {

    public Set<String> getMenuPermission(Long userId) {
        Set<String> perms = new HashSet<>();

        if (userId == 1L) {
            perms.add("*:*:*");
        } else {

        }
        return perms;
    }
}
